package com.tjbank.cssys.mybatis.sqlbuilder;

import com.tansun.web.framework.dao.SQLBulider;

import java.io.Serializable;
import java.util.Date;

public class IamLogSqlBuilder extends SQLBulider<IamLogSqlBuilder> implements Serializable {

    private static final long serialVersionUID = -161123581321345589L;

    public IamLogSqlBuilder() {
        _id = this.toString().split("@")[1];
    }

    public IamLogSqlBuilder andIdEqualTo(String value) {
        return addAndCriterion("ID", Operator.EqualTo, value);
    }

    public IamLogSqlBuilder andIdNotEqualTo(String value) {
        return addAndCriterion("ID", Operator.NotEqualTo, value);
    }

    public IamLogSqlBuilder andIdGreaterThan(String value) {
        return addAndCriterion("ID", Operator.GreaterThan, value);
    }

    public IamLogSqlBuilder andIdGreaterThanOrEqualTo(String value) {
        return addAndCriterion("ID", Operator.GreaterThanOrEqualTo, value);
    }

    public IamLogSqlBuilder andIdLessThan(String value) {
        return addAndCriterion("ID", Operator.LessThan, value);
    }

    public IamLogSqlBuilder andIdLessThanOrEqualTo(String value) {
        return addAndCriterion("ID", Operator.LessThanOrEqualTo, value);
    }

    public IamLogSqlBuilder andIdIsNull() {
        return addAndCriterion("ID", Operator.IsNull, null);
    }

    public IamLogSqlBuilder andIdIsNotNull() {
        return addAndCriterion("ID", Operator.IsNotNull, null);
    }

    public IamLogSqlBuilder andIdLikeBoth(String value) {
        return addAndCriterion("ID", Operator.Like, likeMark + value + likeMark);
    }

    public IamLogSqlBuilder andIdLikeLeft(String value) {
        return addAndCriterion("ID", Operator.Like, likeMark + value);
    }

    public IamLogSqlBuilder andIdLikeRigth(String value) {
        return addAndCriterion("ID", Operator.Like, value + likeMark);
    }

    public IamLogSqlBuilder andIdNotLikeBoth(String value) {
        return addAndCriterion("ID", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamLogSqlBuilder andIdNotLikeLeft(String value) {
        return addAndCriterion("ID", Operator.NotLike, likeMark + value);
    }

    public IamLogSqlBuilder andIdNotLikeRigth(String value) {
        return addAndCriterion("ID", Operator.NotLike, value + likeMark);
    }

    public IamLogSqlBuilder orIdEqualTo(String value) {
        return addOrCriterion("ID", Operator.EqualTo, value);
    }

    public IamLogSqlBuilder orIdNotEqualTo(String value) {
        return addOrCriterion("ID", Operator.NotEqualTo, value);
    }

    public IamLogSqlBuilder orIdGreaterThan(String value) {
        return addOrCriterion("ID", Operator.GreaterThan, value);
    }

    public IamLogSqlBuilder orIdGreaterThanOrEqualTo(String value) {
        return addOrCriterion("ID", Operator.GreaterThanOrEqualTo, value);
    }

    public IamLogSqlBuilder orIdLessThan(String value) {
        return addOrCriterion("ID", Operator.LessThan, value);
    }

    public IamLogSqlBuilder orIdLessThanOrEqualTo(String value) {
        return addOrCriterion("ID", Operator.LessThanOrEqualTo, value);
    }

    public IamLogSqlBuilder orIdIsNull() {
        return addOrCriterion("ID", Operator.IsNull, null);
    }

    public IamLogSqlBuilder orIdIsNotNull() {
        return addOrCriterion("ID", Operator.IsNotNull, null);
    }

    public IamLogSqlBuilder orIdLikeBoth(String value) {
        return addOrCriterion("ID", Operator.Like, likeMark + value + likeMark);
    }

    public IamLogSqlBuilder orIdLikeLeft(String value) {
        return addOrCriterion("ID", Operator.Like, likeMark + value);
    }

    public IamLogSqlBuilder orIdLikeRigth(String value) {
        return addOrCriterion("ID", Operator.Like, value + likeMark);
    }

    public IamLogSqlBuilder orIdNotLikeBoth(String value) {
        return addOrCriterion("ID", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamLogSqlBuilder orIdNotLikeLeft(String value) {
        return addOrCriterion("ID", Operator.NotLike, likeMark + value);
    }

    public IamLogSqlBuilder orIdNotLikeRigth(String value) {
        return addOrCriterion("ID", Operator.NotLike, value + likeMark);
    }

    public IamLogSqlBuilder orderById(boolean isDesc) {
        return addOrderBy("ID", isDesc);
    }

    /**LogType*/
    public IamLogSqlBuilder andLogTypeEqualTo(String value) {
        return addAndCriterion("log_type", Operator.EqualTo, value);
    }

    public IamLogSqlBuilder andLogTypeNotEqualTo(String value) {
        return addAndCriterion("log_type", Operator.NotEqualTo, value);
    }

    public IamLogSqlBuilder andLogTypeGreaterThan(String value) {
        return addAndCriterion("log_type", Operator.GreaterThan, value);
    }

    public IamLogSqlBuilder andLogTypeGreaterThanOrEqualTo(String value) {
        return addAndCriterion("log_type", Operator.GreaterThanOrEqualTo, value);
    }

    public IamLogSqlBuilder andLogTypeLessThan(String value) {
        return addAndCriterion("log_type", Operator.LessThan, value);
    }

    public IamLogSqlBuilder andLogTypeLessThanOrEqualTo(String value) {
        return addAndCriterion("log_type", Operator.LessThanOrEqualTo, value);
    }

    public IamLogSqlBuilder andLogTypeIsNull() {
        return addAndCriterion("log_type", Operator.IsNull, null);
    }

    public IamLogSqlBuilder andLogTypeIsNotNull() {
        return addAndCriterion("log_type", Operator.IsNotNull, null);
    }

    public IamLogSqlBuilder andLogTypeLikeBoth(String value) {
        return addAndCriterion("log_type", Operator.Like, likeMark + value + likeMark);
    }

    public IamLogSqlBuilder andLogTypeLikeLeft(String value) {
        return addAndCriterion("log_type", Operator.Like, likeMark + value);
    }

    public IamLogSqlBuilder andLogTypeLikeRigth(String value) {
        return addAndCriterion("log_type", Operator.Like, value + likeMark);
    }

    public IamLogSqlBuilder andLogTypeNotLikeBoth(String value) {
        return addAndCriterion("log_type", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamLogSqlBuilder andLogTypeNotLikeLeft(String value) {
        return addAndCriterion("log_type", Operator.NotLike, likeMark + value);
    }

    public IamLogSqlBuilder andLogTypeNotLikeRigth(String value) {
        return addAndCriterion("log_type", Operator.NotLike, value + likeMark);
    }

    public IamLogSqlBuilder orLogTypeEqualTo(String value) {
        return addOrCriterion("log_type", Operator.EqualTo, value);
    }

    public IamLogSqlBuilder orLogTypeNotEqualTo(String value) {
        return addOrCriterion("log_type", Operator.NotEqualTo, value);
    }

    public IamLogSqlBuilder orLogTypeGreaterThan(String value) {
        return addOrCriterion("log_type", Operator.GreaterThan, value);
    }

    public IamLogSqlBuilder orLogTypeGreaterThanOrEqualTo(String value) {
        return addOrCriterion("log_type", Operator.GreaterThanOrEqualTo, value);
    }

    public IamLogSqlBuilder orLogTypeLessThan(String value) {
        return addOrCriterion("log_type", Operator.LessThan, value);
    }

    public IamLogSqlBuilder orLogTypeLessThanOrEqualTo(String value) {
        return addOrCriterion("log_type", Operator.LessThanOrEqualTo, value);
    }

    public IamLogSqlBuilder orLogTypeIsNull() {
        return addOrCriterion("log_type", Operator.IsNull, null);
    }

    public IamLogSqlBuilder orLogTypeIsNotNull() {
        return addOrCriterion("log_type", Operator.IsNotNull, null);
    }

    public IamLogSqlBuilder orLogTypeLikeBoth(String value) {
        return addOrCriterion("log_type", Operator.Like, likeMark + value + likeMark);
    }

    public IamLogSqlBuilder orLogTypeLikeLeft(String value) {
        return addOrCriterion("log_type", Operator.Like, likeMark + value);
    }

    public IamLogSqlBuilder orLogTypeLikeRigth(String value) {
        return addOrCriterion("log_type", Operator.Like, value + likeMark);
    }

    public IamLogSqlBuilder orLogTypeNotLikeBoth(String value) {
        return addOrCriterion("log_type", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamLogSqlBuilder orLogTypeNotLikeLeft(String value) {
        return addOrCriterion("log_type", Operator.NotLike, likeMark + value);
    }

    public IamLogSqlBuilder orLogTypeNotLikeRigth(String value) {
        return addOrCriterion("log_type", Operator.NotLike, value + likeMark);
    }

    public IamLogSqlBuilder orderByLogType(boolean isDesc) {
        return addOrderBy("log_type", isDesc);
    }

    /**LogUser*/
    public IamLogSqlBuilder andLogUserEqualTo(String value) {
        return addAndCriterion("log_user", Operator.EqualTo, value);
    }

    public IamLogSqlBuilder andLogUserNotEqualTo(String value) {
        return addAndCriterion("log_user", Operator.NotEqualTo, value);
    }

    public IamLogSqlBuilder andLogUserGreaterThan(String value) {
        return addAndCriterion("log_user", Operator.GreaterThan, value);
    }

    public IamLogSqlBuilder andLogUserGreaterThanOrEqualTo(String value) {
        return addAndCriterion("log_user", Operator.GreaterThanOrEqualTo, value);
    }

    public IamLogSqlBuilder andLogUserLessThan(String value) {
        return addAndCriterion("log_user", Operator.LessThan, value);
    }

    public IamLogSqlBuilder andLogUserLessThanOrEqualTo(String value) {
        return addAndCriterion("log_user", Operator.LessThanOrEqualTo, value);
    }

    public IamLogSqlBuilder andLogUserIsNull() {
        return addAndCriterion("log_user", Operator.IsNull, null);
    }

    public IamLogSqlBuilder andLogUserIsNotNull() {
        return addAndCriterion("log_user", Operator.IsNotNull, null);
    }

    public IamLogSqlBuilder andLogUserLikeBoth(String value) {
        return addAndCriterion("log_user", Operator.Like, likeMark + value + likeMark);
    }

    public IamLogSqlBuilder andLogUserLikeLeft(String value) {
        return addAndCriterion("log_user", Operator.Like, likeMark + value);
    }

    public IamLogSqlBuilder andLogUserLikeRigth(String value) {
        return addAndCriterion("log_user", Operator.Like, value + likeMark);
    }

    public IamLogSqlBuilder andLogUserNotLikeBoth(String value) {
        return addAndCriterion("log_user", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamLogSqlBuilder andLogUserNotLikeLeft(String value) {
        return addAndCriterion("log_user", Operator.NotLike, likeMark + value);
    }

    public IamLogSqlBuilder andLogUserNotLikeRigth(String value) {
        return addAndCriterion("log_user", Operator.NotLike, value + likeMark);
    }

    public IamLogSqlBuilder orLogUserEqualTo(String value) {
        return addOrCriterion("log_user", Operator.EqualTo, value);
    }

    public IamLogSqlBuilder orLogUserNotEqualTo(String value) {
        return addOrCriterion("log_user", Operator.NotEqualTo, value);
    }

    public IamLogSqlBuilder orLogUserGreaterThan(String value) {
        return addOrCriterion("log_user", Operator.GreaterThan, value);
    }

    public IamLogSqlBuilder orLogUserGreaterThanOrEqualTo(String value) {
        return addOrCriterion("log_user", Operator.GreaterThanOrEqualTo, value);
    }

    public IamLogSqlBuilder orLogUserLessThan(String value) {
        return addOrCriterion("log_user", Operator.LessThan, value);
    }

    public IamLogSqlBuilder orLogUserLessThanOrEqualTo(String value) {
        return addOrCriterion("log_user", Operator.LessThanOrEqualTo, value);
    }

    public IamLogSqlBuilder orLogUserIsNull() {
        return addOrCriterion("log_user", Operator.IsNull, null);
    }

    public IamLogSqlBuilder orLogUserIsNotNull() {
        return addOrCriterion("log_user", Operator.IsNotNull, null);
    }

    public IamLogSqlBuilder orLogUserLikeBoth(String value) {
        return addOrCriterion("log_user", Operator.Like, likeMark + value + likeMark);
    }

    public IamLogSqlBuilder orLogUserLikeLeft(String value) {
        return addOrCriterion("log_user", Operator.Like, likeMark + value);
    }

    public IamLogSqlBuilder orLogUserLikeRigth(String value) {
        return addOrCriterion("log_user", Operator.Like, value + likeMark);
    }

    public IamLogSqlBuilder orLogUserNotLikeBoth(String value) {
        return addOrCriterion("log_user", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamLogSqlBuilder orLogUserNotLikeLeft(String value) {
        return addOrCriterion("log_user", Operator.NotLike, likeMark + value);
    }

    public IamLogSqlBuilder orLogUserNotLikeRigth(String value) {
        return addOrCriterion("log_user", Operator.NotLike, value + likeMark);
    }

    public IamLogSqlBuilder orderByLogUser(boolean isDesc) {
        return addOrderBy("log_user", isDesc);
    }

    /**LogTime*/
    public IamLogSqlBuilder andLogTimeEqualTo(Date value) {
        return addAndCriterion("log_time", Operator.EqualTo, value);
    }

    public IamLogSqlBuilder andLogTimeNotEqualTo(Date value) {
        return addAndCriterion("log_time", Operator.NotEqualTo, value);
    }

    public IamLogSqlBuilder andLogTimeGreaterThan(Date value) {
        return addAndCriterion("log_time", Operator.GreaterThan, value);
    }

    public IamLogSqlBuilder andLogTimeGreaterThanOrEqualTo(Date value) {
        return addAndCriterion("log_time", Operator.GreaterThanOrEqualTo, value);
    }

    public IamLogSqlBuilder andLogTimeLessThan(Date value) {
        return addAndCriterion("log_time", Operator.LessThan, value);
    }

    public IamLogSqlBuilder andLogTimeLessThanOrEqualTo(Date value) {
        return addAndCriterion("log_time", Operator.LessThanOrEqualTo, value);
    }

    public IamLogSqlBuilder andLogTimeIsNull() {
        return addAndCriterion("log_time", Operator.IsNull, null);
    }

    public IamLogSqlBuilder andLogTimeIsNotNull() {
        return addAndCriterion("log_time", Operator.IsNotNull, null);
    }

    public IamLogSqlBuilder andLogTimeLikeBoth(Date value) {
        return addAndCriterion("log_time", Operator.Like, likeMark + value + likeMark);
    }

    public IamLogSqlBuilder andLogTimeLikeLeft(Date value) {
        return addAndCriterion("log_time", Operator.Like, likeMark + value);
    }

    public IamLogSqlBuilder andLogTimeLikeRigth(Date value) {
        return addAndCriterion("log_time", Operator.Like, value + likeMark);
    }

    public IamLogSqlBuilder andLogTimeNotLikeBoth(Date value) {
        return addAndCriterion("log_time", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamLogSqlBuilder andLogTimeNotLikeLeft(Date value) {
        return addAndCriterion("log_time", Operator.NotLike, likeMark + value);
    }

    public IamLogSqlBuilder andLogTimeNotLikeRigth(Date value) {
        return addAndCriterion("log_time", Operator.NotLike, value + likeMark);
    }

    public IamLogSqlBuilder orLogTimeEqualTo(Date value) {
        return addOrCriterion("log_time", Operator.EqualTo, value);
    }

    public IamLogSqlBuilder orLogTimeNotEqualTo(Date value) {
        return addOrCriterion("log_time", Operator.NotEqualTo, value);
    }

    public IamLogSqlBuilder orLogTimeGreaterThan(Date value) {
        return addOrCriterion("log_time", Operator.GreaterThan, value);
    }

    public IamLogSqlBuilder orLogTimeGreaterThanOrEqualTo(Date value) {
        return addOrCriterion("log_time", Operator.GreaterThanOrEqualTo, value);
    }

    public IamLogSqlBuilder orLogTimeLessThan(Date value) {
        return addOrCriterion("log_time", Operator.LessThan, value);
    }

    public IamLogSqlBuilder orLogTimeLessThanOrEqualTo(Date value) {
        return addOrCriterion("log_time", Operator.LessThanOrEqualTo, value);
    }

    public IamLogSqlBuilder orLogTimeIsNull() {
        return addOrCriterion("log_time", Operator.IsNull, null);
    }

    public IamLogSqlBuilder orLogTimeIsNotNull() {
        return addOrCriterion("log_time", Operator.IsNotNull, null);
    }

    public IamLogSqlBuilder orLogTimeLikeBoth(Date value) {
        return addOrCriterion("log_time", Operator.Like, likeMark + value + likeMark);
    }

    public IamLogSqlBuilder orLogTimeLikeLeft(Date value) {
        return addOrCriterion("log_time", Operator.Like, likeMark + value);
    }

    public IamLogSqlBuilder orLogTimeLikeRigth(Date value) {
        return addOrCriterion("log_time", Operator.Like, value + likeMark);
    }

    public IamLogSqlBuilder orLogTimeNotLikeBoth(Date value) {
        return addOrCriterion("log_time", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamLogSqlBuilder orLogTimeNotLikeLeft(Date value) {
        return addOrCriterion("log_time", Operator.NotLike, likeMark + value);
    }

    public IamLogSqlBuilder orLogTimeNotLikeRigth(Date value) {
        return addOrCriterion("log_time", Operator.NotLike, value + likeMark);
    }

    public IamLogSqlBuilder orderByLogTime(boolean isDesc) {
        return addOrderBy("log_time", isDesc);
    }

    /**LogNote*/
    public IamLogSqlBuilder andLogNoteEqualTo(String value) {
        return addAndCriterion("log_note", Operator.EqualTo, value);
    }

    public IamLogSqlBuilder andLogNoteNotEqualTo(String value) {
        return addAndCriterion("log_note", Operator.NotEqualTo, value);
    }

    public IamLogSqlBuilder andLogNoteGreaterThan(String value) {
        return addAndCriterion("log_note", Operator.GreaterThan, value);
    }

    public IamLogSqlBuilder andLogNoteGreaterThanOrEqualTo(String value) {
        return addAndCriterion("log_note", Operator.GreaterThanOrEqualTo, value);
    }

    public IamLogSqlBuilder andLogNoteLessThan(String value) {
        return addAndCriterion("log_note", Operator.LessThan, value);
    }

    public IamLogSqlBuilder andLogNoteLessThanOrEqualTo(String value) {
        return addAndCriterion("log_note", Operator.LessThanOrEqualTo, value);
    }

    public IamLogSqlBuilder andLogNoteIsNull() {
        return addAndCriterion("log_note", Operator.IsNull, null);
    }

    public IamLogSqlBuilder andLogNoteIsNotNull() {
        return addAndCriterion("log_note", Operator.IsNotNull, null);
    }

    public IamLogSqlBuilder andLogNoteLikeBoth(String value) {
        return addAndCriterion("log_note", Operator.Like, likeMark + value + likeMark);
    }

    public IamLogSqlBuilder andLogNoteLikeLeft(String value) {
        return addAndCriterion("log_note", Operator.Like, likeMark + value);
    }

    public IamLogSqlBuilder andLogNoteLikeRigth(String value) {
        return addAndCriterion("log_note", Operator.Like, value + likeMark);
    }

    public IamLogSqlBuilder andLogNoteNotLikeBoth(String value) {
        return addAndCriterion("log_note", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamLogSqlBuilder andLogNoteNotLikeLeft(String value) {
        return addAndCriterion("log_note", Operator.NotLike, likeMark + value);
    }

    public IamLogSqlBuilder andLogNoteNotLikeRigth(String value) {
        return addAndCriterion("log_note", Operator.NotLike, value + likeMark);
    }

    public IamLogSqlBuilder orLogNoteEqualTo(String value) {
        return addOrCriterion("log_note", Operator.EqualTo, value);
    }

    public IamLogSqlBuilder orLogNoteNotEqualTo(String value) {
        return addOrCriterion("log_note", Operator.NotEqualTo, value);
    }

    public IamLogSqlBuilder orLogNoteGreaterThan(String value) {
        return addOrCriterion("log_note", Operator.GreaterThan, value);
    }

    public IamLogSqlBuilder orLogNoteGreaterThanOrEqualTo(String value) {
        return addOrCriterion("log_note", Operator.GreaterThanOrEqualTo, value);
    }

    public IamLogSqlBuilder orLogNoteLessThan(String value) {
        return addOrCriterion("log_note", Operator.LessThan, value);
    }

    public IamLogSqlBuilder orLogNoteLessThanOrEqualTo(String value) {
        return addOrCriterion("log_note", Operator.LessThanOrEqualTo, value);
    }

    public IamLogSqlBuilder orLogNoteIsNull() {
        return addOrCriterion("log_note", Operator.IsNull, null);
    }

    public IamLogSqlBuilder orLogNoteIsNotNull() {
        return addOrCriterion("log_note", Operator.IsNotNull, null);
    }

    public IamLogSqlBuilder orLogNoteLikeBoth(String value) {
        return addOrCriterion("log_note", Operator.Like, likeMark + value + likeMark);
    }

    public IamLogSqlBuilder orLogNoteLikeLeft(String value) {
        return addOrCriterion("log_note", Operator.Like, likeMark + value);
    }

    public IamLogSqlBuilder orLogNoteLikeRigth(String value) {
        return addOrCriterion("log_note", Operator.Like, value + likeMark);
    }

    public IamLogSqlBuilder orLogNoteNotLikeBoth(String value) {
        return addOrCriterion("log_note", Operator.NotLike, likeMark + value + likeMark);
    }

    public IamLogSqlBuilder orLogNoteNotLikeLeft(String value) {
        return addOrCriterion("log_note", Operator.NotLike, likeMark + value);
    }

    public IamLogSqlBuilder orLogNoteNotLikeRigth(String value) {
        return addOrCriterion("log_note", Operator.NotLike, value + likeMark);
    }

    public IamLogSqlBuilder orderByLogNote(boolean isDesc) {
        return addOrderBy("log_note", isDesc);
    }


}
